package com.zz.framework.core.http

import okhttp3.Interceptor
import okhttp3.OkHttpClient
import retrofit2.Retrofit

/**
 * Copyright © 2020 zanezhao All rights reserved.
 * Created by zanezhao on 2020/3/1 1:17 PM.
 * @author: zanezhao 1820022519@qq.com
 * @version: V1.0
 */
interface RetrofitConfig {

    fun initRetrofit(): Retrofit

    fun initOkHttpClient(vararg interceptors: Interceptor): OkHttpClient

    fun handleBuilder(builder: OkHttpClient.Builder)

    fun initInterceptors():Array<Interceptor>
}